package com.wenli.lt.Aspect;


import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.junit.Before;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


//该注解声明这个类为一个切面类
@Aspect
@Component
public class HandlerAspect {
    @Around("execution(* com.wenli.lt.Aspect.Buy.Play(..))")
    public void Around(ProceedingJoinPoint point) throws Throwable {

        System.out.println("环绕前.....");
        System.out.println(point);
    }

}
